﻿using System.ComponentModel.DataAnnotations;

namespace LuDragon.Data.Entities
{
    /// <summary>
    /// 角色表
    /// </summary>

    public class Sys_Role
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        [Key]
        public int RoleId { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        [MaxLength(200)]
        [Required]
        public string RoleName { get; set; }
        /// <summary>
        /// 是否系统角色
        /// </summary>
        public bool IsSystem { get; set; }
        /// <summary>
        /// 以逗号分开的导航ID
        /// </summary>
        public string NavIds { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDelete { get; set; } 
    }
}
